#include "MClient.h"

MClient::MClient(QTcpSocket *_socket, QString _username, QString _password)
{
    this->socket = _socket;
    this->username = _username;
    this->password = _password;


}

MClient::~MClient()
{

}

QTcpSocket* MClient::get_socket()
{
    return this->socket;
}

QString MClient::get_username()
{
    return this->username;
}

QString MClient::get_password()
{
    return this->password;
}

QList<MCharacter *> MClient::get_characters()
{
    return this->characters;
}

void MClient::set_socket(QTcpSocket *socket)
{
    this->socket = socket;
}

void MClient::set_username(QString username)
{
    this->username = username;
}

void MClient::set_password(QString password)
{
    this->password = password;
}

void MClient::set_characters(QList<MCharacter *> characters)
{
    this->characters = characters;
}
